<?php
/**
 * @package EDO
 * @subpackage Core
 *
 */
class SearchCondition
{
	private $field;
	private $operator;
	private $value;
	
	private $id;
	
	static private $idCount = 0;
	
	public function __construct($field, $operator, $value)
	{
		$this->field = $field;
		$this->operator = $operator;
		$this->value = $value;
				
		$this->id = ++SearchCondition::$idCount;
			
	}
		
	public function getField() { return $this->field; }
	public function getOperator() { return $this->operator; }
	
	public function getId() { return $this->id; }
		
	public function getValue() { return $this->value; }

	
}